import request from '@/utils/request'

// 查询问卷答案列表
export function listHealth_question_answer(query) {
  return request({
    url: '/ring/health_question_answer/list',
    method: 'get',
    params: query
  })
}

// 查询问卷答案详细
export function getHealth_question_answer(id) {
  return request({
    url: '/ring/health_question_answer/' + id,
    method: 'get'
  })
}

// 新增问卷答案
export function addHealth_question_answer(data) {
  return request({
    url: '/ring/health_question_answer',
    method: 'post',
    data: data
  })
}

// 修改问卷答案
export function updateHealth_question_answer(data) {
  return request({
    url: '/ring/health_question_answer',
    method: 'put',
    data: data
  })
}

// 删除问卷答案
export function delHealth_question_answer(id) {
  return request({
    url: '/ring/health_question_answer/' + id,
    method: 'delete'
  })
}
